package com.syg.controller;

import com.syg.domain.Person;
import com.syg.service.impl.OccupationHandler;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class OccupationController {

    @Resource
    OccupationHandler occupationHandler;

    @RequestMapping("/test")
    public void test() {
        Person person = new Person();
        occupationHandler.occupationHandler(person);
    }
}
